/**
 * Witontek.com.
 * Copyright (c) 2012-2017 All Rights Reserved.
 */
package com.witon.witontool.web.controller.dbcheck.model;

import java.util.ArrayList;
import java.util.List;

import com.witon.witontool.core.model.base.BaseModel;

/**
 * 
 * @author Long
 * @version $Id: Table.java, v 0.1 2017年6月30日 下午4:15:58  xiaolong.ma  Exp $
 */
public class Table extends BaseModel {
    /**  */
    private static final long serialVersionUID = 3857646427408133772L;

    private String            name;

    private String            type;

    private List<Field>       fieldList        = new ArrayList<Field>();

    /**
     * Getter method for property <tt>fieldList</tt>.
     * 
     * @return property value of fieldList
     */
    public List<Field> getFieldList() {
        return fieldList;
    }

    /**
     * Setter method for property <tt>fieldList</tt>.
     * 
     * @param fieldList value to be assigned to property fieldList
     */
    public void setFieldList(List<Field> fieldList) {
        this.fieldList = fieldList;
    }

    /**
     * Getter method for property <tt>name</tt>.
     * 
     * @return property value of name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name value to be assigned to property name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>type</tt>.
     * 
     * @return property value of type
     */
    public String getType() {
        return type;
    }

    /**
     * Setter method for property <tt>type</tt>.
     * 
     * @param type value to be assigned to property type
     */
    public void setType(String type) {
        this.type = type;
    }
}
